﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace CalemShop
{
    public partial class FrmCheckAmountItem : Form
    {
        public FrmCheckAmountItem()
        {
            InitializeComponent();
        }

        private void timer1_Tick(object sender, EventArgs e)
        {
            timer1.Stop();
            timer1.Enabled = false;
            this.Close();
        }

        public void setInfo(string autoKey, string itemName, int amount, string size)
        {
            lbAutoKey.Text = string.Format("Mã SP:{0} - SLT : {1} -  SIZE : {2}", autoKey, amount, size);
            lbItemName.Text = itemName;
        }
    }
}
